//
//  YTBonusPointsViewCell.m
//  YiTuDriverClient
//
//  Created by 石少庸 on 2017/5/19.
//  Copyright © 2017年 Yitu. All rights reserved.
//

#import "YTBonusPointsViewCell.h"
#import "YTDriverPointModel.h"

@interface YTBonusPointsViewCell ()
@property (weak, nonatomic) IBOutlet UILabel *orderId;
@property (weak, nonatomic) IBOutlet UILabel *orderTime;
@property (weak, nonatomic) IBOutlet UILabel *orderAddress;
@property (weak, nonatomic) IBOutlet UILabel *points;
@end

@implementation YTBonusPointsViewCell

- (void)setModel:(YTDriverPointModel *)model {
    _model = model;
    _orderId.text = model.orderSID;
    _orderTime.text = model.addTime;
    _orderAddress.text = model.content;
    _points.text = [NSString stringWithFormat:@"%zd", model.points];
}

@end
